﻿namespace YiShop.Framework.Extensions
{
    public static class EnumExtensions
    {
        public static string GetValue(this Enum thisEnum)
        {
            var val = Enum.Parse(thisEnum.GetType(), thisEnum.ToString());
            return Convert.ToInt32(val).ToString();
        }
    }
}
